let defaultCity = '上海'
// 为避免用户关闭使用本地存储而抛出异常，加上try catch
try {
    if (localStorage.city) {
        // console.log('有本地缓存')
        defaultCity = localStorage.city
    }else{console.log(没有本地缓存)}
} catch (e) {console.log('调取异常')}

export default  {
    city: defaultCity
}